package com.hxgz.steel.dao;

import com.hxgz.steel.domain.AnnouncementManager;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("AnnouncementManager")
public interface AnnouncementManagerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AnnouncementManager record);

    int insertSelective(AnnouncementManager record);

    AnnouncementManager selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AnnouncementManager record);

    int updateByPrimaryKey(AnnouncementManager record);

    List<AnnouncementManager> getAllList();

    AnnouncementManager announceForHome();

}